package com.etennis.pojos.vo.app;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserVO {
    private Long id;
    private String icon;
    private String name;
    private Long clubId;
    private String clubName;
    /**
     * 开始打球日期
     */
    private Date startTime;
    private String ntrp;
    private String sex;

    private String hand;

    private String pad;

    private String skill;

    private Long groupId;

    public UserVO(Long id, String icon, String name, Integer score) {
        this.id = id;
        this.icon = icon;
        this.name = name;
        this.score = score;
    }

    @ApiModelProperty("总盘数")
    private Integer setCount;

    @ApiModelProperty("总局数")
    private Integer matchCount;

    @ApiModelProperty("组内排名")
    private Integer groupRank;

    @ApiModelProperty("组内排名（小组人数）")
    private Integer groupCount;
    /**
     * 存储百分号前的数字
     */
    @ApiModelProperty("胜盘率")
    private Integer winSetRate;

    @ApiModelProperty("胜场率")
    private Integer winMatchRate;

    /**
     * 积分数
     */
    private Integer score;
}
